/* ===== LOGIN.CSS — Booked (light theme) ===== */

*, *::before, *::after { box-sizing: border-box; }

body, html {
    font-family: 'Montserrat', sans-serif !important;
    background: #f5f5f5;
    color: #111;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================================
   LANDING WRAP
============================================================ */
.landing-wrap {
    position: relative;
}

/* ============================================================
   HERO
============================================================ */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 100px;
    text-align: center;
    overflow: hidden;
    background: #f5f5f5;
}

.landing-glow {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    width: 100%;
}

.hero-logo {
    width: 190px;
    margin-bottom: 28px;
    animation: fadeUp 0.65s ease both;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #383838;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 26px;
    animation: fadeUp 0.65s 0.08s ease both;
}

.hero-headline {
    font-size: clamp(34px, 9vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    color: #111;
    animation: fadeUp 0.65s 0.16s ease both;
}

.hero-muted { color: #383838; }

.hero-sub {
    font-size: 14px;
    color: #383838;
    line-height: 1.75;
    margin-bottom: 36px;
    animation: fadeUp 0.65s 0.24s ease both;
}

/* CTA */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    animation: fadeUp 0.65s 0.32s ease both;
}

.btn-cta {
    width: 100%;
    padding: 15px 20px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.2s;
    text-align: center;
}
.btn-cta:hover  { opacity: 0.85; transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }

.btn-cta--primary  { background: #111; color: #fff; }
.btn-cta--secondary {
    background: transparent;
    color: #383838;
    border: 1px solid #ddd;
}
.btn-cta--secondary:hover { border-color: #aaa; color: #111; }

/* Pills hero */
.hero-features {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 52px;
    animation: fadeUp 0.65s 0.42s ease both;
}

.hf-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #383838;
}

.hf-icon { font-size: 14px; }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.revealed .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.revealed .reveal-item:nth-child(2) { transition-delay: 0.12s; }
.revealed .reveal-item:nth-child(3) { transition-delay: 0.19s; }
.revealed .reveal-item:nth-child(4) { transition-delay: 0.26s; }
.revealed .reveal-item:nth-child(5) { transition-delay: 0.33s; }
.revealed .reveal-item:nth-child(6) { transition-delay: 0.40s; }
.revealed .reveal-item { opacity: 1; transform: translateY(0); }

/* ============================================================
   SECCIONES — utilidades comunes
============================================================ */
.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #383838;
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-size: clamp(26px, 6vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: #111;
}

.section-sub {
    font-size: 14px;
    color: #383838;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

.section-paraquien,
.section-features,
.section-unlimited,
.section-precio,
.section-cta-final {
    border-top: 1px solid #ececec;
}

/* ============================================================
   PARA QUIÉN
============================================================ */
.section-paraquien {
    text-align: center;
    padding: 72px 24px 60px;
    max-width: 540px;
    margin: 0 auto;
    background: #f5f5f5;
}

.rubritos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
}

.rubrito {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #383838;
}

/* ============================================================
   FEATURES GRID
============================================================ */
.section-features {
    padding: 72px 24px 60px;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    background: #f5f5f5;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
    text-align: left;
}

.feat-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.feat-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feat-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.feat-card p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   SIN LÍMITES
============================================================ */
.section-unlimited {
    padding: 72px 24px;
    text-align: center;
    position: relative;
    background: #111;
}

.section-unlimited .section-eyebrow { color: #555; }

.unlimited-inner {
    max-width: 480px;
    margin: 0 auto;
}

.unlimited-title {
    font-size: clamp(28px, 7vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    color: #fff;
}

.unlimited-sub {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 32px;
}

.unlimited-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ul-pill {
    background: #fff;
    color: #000;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ============================================================
   PRECIO
============================================================ */
.section-precio {
    padding: 72px 24px 60px;
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
    background: #f5f5f5;
}

.precio-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 36px 28px 32px;
    margin-top: 40px;
    text-align: center;
}

.precio-badge-top {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #383838;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 24px;
}

.precio-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.precio-currency {
    font-size: 22px;
    font-weight: 700;
    color: #383838;
    padding-top: 8px;
}

.precio-number {
    font-size: 58px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #111;
}

.precio-period {
    font-size: 16px;
    color: #383838;
    align-self: flex-end;
    padding-bottom: 10px;
}

.precio-trial {
    font-size: 12px;
    color: #383838;
    margin-bottom: 28px;
}

.precio-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.precio-lista li {
    font-size: 14px;
    color: #383838;
    padding-left: 4px;
}

.precio-lista li strong { color: #444; }

.precio-btn { margin-bottom: 16px; }

.precio-footnote {
    font-size: 12px;
    color: #383838;
    margin: 0;
}

.precio-link {
    background: none;
    border: none;
    color: #383838;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    padding: 0;
}
.precio-link:hover { color: #555; }

/* ============================================================
   CTA FINAL
============================================================ */
.section-cta-final {
    position: relative;
    text-align: center;
    padding: 80px 24px 100px;
    overflow: hidden;
    background: #f5f5f5;
}

.cta-final-inner {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-final-title {
    font-size: clamp(28px, 7vw, 44px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
    color: #111;
}

.cta-final-sub {
    font-size: 14px;
    color: #383838;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-final-btn {
    max-width: 280px;
    margin-bottom: 24px;
}

.cta-final-links {
    font-size: 12px;
    color: #383838;
    line-height: 1.8;
}

.cta-final-links a { color: #383838; text-decoration: underline; }
.cta-final-links a:hover { color: #555; }

/* ============================================================
   MODAL OVERLAY
============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    transition: background 0.35s ease;
}

.modal-overlay.is-open {
    background: rgba(0,0,0,0.5);
    pointer-events: all;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ============================================================
   MODAL SHEET
============================================================ */
.modal-sheet {
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 12px 0 40px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
    scrollbar-width: none;
}
.modal-sheet::-webkit-scrollbar { display: none; }
.modal-sheet.is-open { transform: translateY(0); }

.modal-handle {
    width: 36px;
    height: 4px;
    background: #e8e8e8;
    border-radius: 999px;
    margin: 0 auto 16px;
}

/* ============================================================
   AUTH CARD
============================================================ */
.auth-card {
    background: transparent;
    padding: 0 20px;
}

.auth-header { text-align: center; margin-bottom: 20px; }
.auth-title  { font-size: 24px; font-weight: 700; }
.auth-subtitle { font-size: 14px; color: #383838; }

.auth-tabs {
    position: relative;
    display: flex;
    background: #f0f0f0;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 22px;
}

.auth-tab {
    flex: 1;
    padding: 10px 0;
    font-size: 13px;
    color: #383838;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    transition: 0.25s ease;
    font-family: 'Montserrat', sans-serif;
}

#tab-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(33.33% - 4px);
    background: #111;
    border-radius: 999px;
    transition: all .35s cubic-bezier(.25, .8, .25, 1);
    z-index: 1;
}

.auth-tab.active { color: #fff; font-weight: 600; z-index: 2; }

.auth-form {
    display: none;
    flex-direction: column;
    gap: 30px;
    animation: fadeSlide .35s ease;
    margin-top: 25px;
    margin-bottom: 25px;
    width: 100%;
}

.auth-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-field label {
    display: block;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-align: left;
    margin-left: 10px;
}

.auth-input {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    color: #111;
    transition: .2s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
.auth-input:focus {
    border-color: #aaa;
    background: #fff;
    outline: none;
}

.auth-passwrap   { position: relative; width: 100%; }
.auth-input-pass { padding-right: 52px; }

.auth-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.auth-eye-ic { width: 20px; height: 20px; fill: #111; }

.auth-btn {
    padding: 14px;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
    width: 100%;
}
.auth-btn:hover { opacity: 0.85; }

.auth-inline-link {
    background: none;
    border: none;
    color: #383838;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.auth-footnote {
    font-size: 12px;
    text-align: center;
    color: #aaa;
    margin-top: 10px;
}

/* ============================================================
   FOOTER
============================================================ */
.footer-login {
    border-top: 1px solid #ececec;
    text-align: center;
    padding: 20px 24px;
    font-size: 11px;
    color: #383838;
    background: #f5f5f5;
    position: relative;
    z-index: 1;
}

.footer-login a { color: #aaa; text-decoration: none; }
.footer-login a:hover { color: #555; }

/* ============================================================
   ANIMACIONES (no tocar)
============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}


.file-label {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    color: #888;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin: 0px !important;
}
.file-label:hover {
    border-color: #aaa;
    color: #444;
}